<?php $this->load->view("common/header_mobile") ?>
<script type="text/javascript">
$(function() {
	//	$( "#job_start" ).datepicker({ dateFormat: 'yy-mm-dd' });
	});
</script>
<body>
  <?php $this->load->view("common/speel_mobile_page") ?>

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="1265" valign="top">
      <div id="crum">
<?php echo $crum ?>
</div>

      <form name="form1" method="post" action="<?php echo base_url() ."mobile/newclient/" ?>">
        <table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
          <tr>
            <td class="tblBody" colspan="2"><span class="pageMsg"><?php echo $msg ?></span></td>
          </tr>
          <tr>
            <td colspan="2" align="left" class="tblBody"><span class="tblBody">Client Name</span><br><input name="client_name" type="text" id="client_name" size="40" placeholder="Client Name"/></td>
          </tr>
          <tr>
            <td colspan="2" align="left" valign="top" class="tblBody"><span class="tblBody">Contact 1</span><br><input name="client_contact1" type="text" id="client_contact1" size="40" placeholder="Contact 1"/></td>
          </tr>
          <tr>
            <td colspan="2" align="left" valign="top" class="tblBody"><span class="tblBody">Contact 2</span><br><input name="client_contact2" type="text" id="client_contact2" size="40" placeholder="Contact 2" /></td>
          </tr>
          <tr>
            <td colspan="2" align="left" valign="top" class="tblBody"><span class="tblBody">Phone</span><br><input name="client_phone1" type="text" id="client_phone1" size="40" placeholder="Phone" /></td>
          </tr>
          <tr>
            <td colspan="2" align="left" valign="top" class="tblBody"><span class="tblBody">Fax</span><br><input name="client_phone2" type="text" id="client_phone2" size="40" placeholder="Fax"/></td>
          </tr>
          <tr>
            <td colspan="2" align="left" valign="top" class="tblBody"><span class="tblBody">Email</span><br><input name="client_email" type="text" id="client_email" size="40" placeholder="Email" /></td>
          </tr>
          <tr>
            <td colspan="2" align="left" valign="top" class="tblBody"><span class="tblBody">Address</span><br><input name="client_address1" type="text" id="client_address1" size="40" placeholder="Address" ></td>
          </tr>
          <tr>
            <td colspan="2" align="left" valign="top" class="tblBody"><span class="tblBody">Suburb</span><br><input name="client_suburb" type="text" id="textfield8" size="40" placeholder="Suburb" /></td>
          </tr>
          <tr>
            <td align="left" valign="top" class="tblBody"><span class="tblBody">State</span><br>
              <select name="client_state" id="client_state" placeholder="State">
                <?php foreach($states as $state) { ?>
                <option value="<?php echo $state['lu_value'] ?>"><?php echo $state['lu_lable']?></option>
                <?php } ?>
            </select></td>
            <td width="50%" valign="top" class="tblBody"><span class="tblBody">Post code</span><br><input name="client_postcode" type="text" id="client_postcode" size="5" placeholder="Post code"/></td>
          </tr>
          <tr>
            <td colspan="2"><input name="button" type="submit" class="tblBtn" id="button" value=" Add Client  ">
            <input name="action" type="hidden" id="action" value="newJob"></td>
          </tr>
        </table>

      </form></td>
    </tr>
</table>

<?php $this->load->view("common/footer_mobile") ?>
</body>
</html>
